

import request from '@/utils/system/request'

// 获取基础数据
export function advList(data: object) {
    return request({
        url: '/admin/adv/list',
        method: 'post',
        baseURL: '/api',
        data
    })
}
export function advUpdate(data: object) {
    return request({
        url: '/admin/adv/update',
        method: 'post',
        baseURL: '/api',
        data
    })
}
export function advPath(data: any) {
    return request({
        url: '/admin/adv/path',
        method: 'post',
        baseURL: '/api',
        data: data.data
    })
}
export function advExport(data: any) {
    return request({
        url: '/admin/adv/export',
        method: 'post',
        baseURL: '/api',
        data: data
    })
}